package vendingMachine;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args, int id) {
		buy(id);
	}
	
	private static void buy(int id) {
		int zaiko = 0;
		if(id == 1) {
			zaiko = JuiceConstants.ID_COLA - 1;
		} else if(id == 2) {
			zaiko = JuiceConstants.ID_REDBULL -1;
		} else if(id == 3) {
			zaiko = JuiceConstants.ID_WATER - 1;
		}
		
		if(Strike.isStrike(id)) {
			zaiko--;
		}		
	}

}
